package com.xyoto.takeawayUser.enums;

/**
 * 用户枚举
 *
 * @author Administrator
 */

public enum OrderEnum implements Code {

    /** 订单相关 */
    FIND_USER_OFFEN_BUY_FAILED(2500, "用户常买列表为空"),
    ;

    private int code;
    private String msg;

    OrderEnum(int code, String msg) {
        this.code = code;
        this.msg = msg;
    }


    @Override
    public int code() {
        return this.code;
    }

    @Override
    public String msg() {
        return this.msg;
    }

}
